<?php
    session_start();
    if (isset($_SESSION['id'])) {
?>
<div class="flex-container home-flex-info">
    <div class="flex-item info-padding"><a href="home.php">首页</a></div>
    <div class="flex-item info-padding"><a href="admin.php">管理员[1]</a></div>
    <div class="flex-item info-padding"><a href="admin_col.php">管理员[2]</a></div>
    <div class="flex-item info-padding"><a href="log.php">登入日志</a></div>
    <div class="flex-item info-padding"><a href="article.php">文章[1]</a></div>
    <div class="flex-item info-padding"><a href="article_col.php">文章[2]</a></div>
    <div class="flex-item info-padding"><a href="speciality.php">招生专业[1]</a></div>
    <div class="flex-item info-padding"><a href="spe_add.php">招生专业[2]</a></div>
    <div class="flex-item info-padding"><a href="students.php">考生资格审查与成绩登记</a></div>
</div>
<?php } else { header("Location: /"); } ?>